<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:82:"D:\phpStudy\PHPTutorial\WWW\cms\public/../application/admin\view\config\index.html";i:1559813110;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>ThinkPHP5.0</title>
    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="/static/admin/style/bootstrap.css" rel="stylesheet">
    <link href="/static/admin/style/font-awesome.css" rel="stylesheet">
    <link href="/static/admin/style/weather-icons.css" rel="stylesheet">
    <!--Beyond styles-->
    <link id="beyond-link" href="/static/admin/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="/static/admin/style/demo.css" rel="stylesheet">
    <link href="/static/admin/style/typicons.css" rel="stylesheet">
    <link href="/static/admin/style/animate.css" rel="stylesheet">
</head>
<body>
<form class="form-horizontal" role="form" action="" method="post">
    <div class="widget-body">
        <div class="widget-main ">
            <div class="tabbable">
                <ul class="nav nav-tabs  tabs-flat">
                    <li class="active">
                        <a data-toggle="tab" href="#FlatTab-1" aria-expanded="true">基本信息设置</a></li>
                    <li class="">
                        <a data-toggle="tab" href="#FlatTab-2" aria-expanded="false">联系方式</a></li>
                    <li class="">
                        <a data-toggle="tab" href="#FlatTab-3" aria-expanded="false">SEO设置</a></li>
                </ul>

                <div class="tab-content  tabs-flat">
                    <div class="tab-pane active" id="FlatTab-1">

                        <?php foreach($index as $k=>$v):if($v['cf_type']==1):?>

                        <div class="form-group">
                            <label for="username" class="col-sm-2 control-label no-padding-right">
                                <?php echo $v['cname']?>
                            </label>
                            <div class="col-sm-6">
                                <?php if($v['dt_type']==1):?>
                                <input class="form-control" placeholder="" name="cname"  type="text">
                                <?php endif;?>
                                <!--单选按钮-->
                                <?php if($v['dt_type']==2):?>
                                <div class="radio" style="float: left;padding-left: 10px">
                                <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <?php endif;if($v['dt_type']==3):?>
                                <div class="checkbox">
                                    <label><input checked="checked" class="colored-blue" id="form-field-checkbox" name="form-field-checkbox" type="checkbox" value="true">
                                        <input name="form-field-checkbox" type="hidden" value="false">
                                        <span class="text">Blue</span>
                                    </label>
                                </div>
                                <?php endif;if($v['dt_type']==4):?>
                                <!--下拉菜单-->
                                <select name="" id="">
                                    <option value=""></option>
                                    <option value=""></option>
                                </select>
                                <?php endif;?>
                                <!--文本域-->
                                <?php if($v['dt_type']==5):?>
                                <textarea class="form-control"></textarea>
                                <?php endif;?>
                                <!--附件类型-->
                                <?php if($v['dt_type']==6):?>
                                <input placeholder="" name="cname"  type="file">
                                <?php endif;?>
                            </div>
                            <p class="help-block col-sm-4 red">* 必填</p>
                        </div>

                        <?php endif;endforeach;?>

                    </div>
                    <div class="tab-pane" id="FlatTab-2">

                        <?php foreach($index as $k=>$v):if($v['cf_type']==2):?>

                        <div class="form-group">
                            <label for="username" class="col-sm-2 control-label no-padding-right">
                                <?php echo $v['cname']?>
                            </label>
                            <div class="col-sm-6">
                                <?php if($v['dt_type']==1):?>
                                <input class="form-control" placeholder="" name="cname"  type="text">
                                <?php endif;?>
                                <!--单选按钮-->
                                <?php if($v['dt_type']==2):?>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <?php endif;if($v['dt_type']==3):?>
                                <div class="checkbox">
                                    <label><input checked="checked" class="colored-blue" id="form-field-checkbox" name="form-field-checkbox" type="checkbox" value="true">
                                        <input name="form-field-checkbox" type="hidden" value="false">
                                        <span class="text">Blue</span>
                                    </label>
                                </div>
                                <?php endif;if($v['dt_type']==4):?>
                                <!--下拉菜单-->
                                <select name="" >
                                    <option value=""></option>
                                    <option value=""></option>
                                </select>
                                <?php endif;?>
                                <!--文本域-->
                                <?php if($v['dt_type']==5):?>
                                <textarea class="form-control"></textarea>
                                <?php endif;?>
                                <!--附件类型-->
                                <?php if($v['dt_type']==6):?>
                                <input placeholder="" name="cname"  type="file">
                                <?php endif;?>
                            </div>
                            <p class="help-block col-sm-4 red">* 必填</p>
                        </div>

                        <?php endif;endforeach;?>
                    </div>
                    <div class="tab-pane" id="FlatTab-3">
                        <?php foreach($index as $k=>$v):if($v['cf_type']==3):?>

                        <div class="form-group">
                            <label for="username" class="col-sm-2 control-label no-padding-right">
                                <?php echo $v['cname']?>
                            </label>
                            <div class="col-sm-6">
                                <?php if($v['dt_type']==1):?>
                                <input class="form-control" placeholder="" name="cname"  type="text">
                                <?php endif;?>
                                <!--单选按钮-->
                                <?php if($v['dt_type']==2):?>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <div class="radio" style="float: left;padding-left: 10px">
                                    <label><input checked="checked" class="colored-blue" name="form-field-radio" type="radio"><span class="text">
                                    Windows Phone</span></label>
                                </div>
                                <?php endif;if($v['dt_type']==3):?>
                                <div class="checkbox">
                                    <label><input checked="checked" class="colored-blue" id="form-field-checkbox" name="form-field-checkbox" type="checkbox" value="true">
                                        <input name="form-field-checkbox" type="hidden" value="false">
                                        <span class="text">Blue</span>
                                    </label>
                                </div>
                                <?php endif;if($v['dt_type']==4):?>
                                <!--下拉菜单-->
                                <select name="" >
                                    <option value=""></option>
                                    <option value=""></option>
                                </select>
                                <?php endif;?>
                                <!--文本域-->
                                <?php if($v['dt_type']==5):?>
                                <textarea class="form-control"></textarea>
                                <?php endif;?>
                                <!--附件类型-->
                                <?php if($v['dt_type']==6):?>
                                <input placeholder="" name="cname"  type="file">
                                <?php endif;?>
                            </div>
                            <p class="help-block col-sm-4 red">* 必填</p>
                        </div>

                        <?php endif;endforeach;?>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">保存信息</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>
<script src="/static/admin/style/jquery_002.js"></script>
<script src="/static/admin/style/bootstrap.js"></script>
<script src="/static/admin/style/jquery.js"></script>
<!--Beyond Scripts-->
<script src="/static/admin/style/beyond.js"></script>
</body>
</html>